﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;

namespace ParseLib.Workbench
{
    public partial class MainWindow
    {
        public MainWindow()
        {
            InitializeComponent();

            var textBlock = new TextBlock
                                {
                                    FontSize = 100,
                                    FlowDirection = FlowDirection.RightToLeft,
                                    FontFamily = new FontFamily("me_quran"),
                                    Background = Brushes.Yellow
                                };
            textBlock.Inlines.Add(new Run("تَشْ") { Foreground = Brushes.Red });
            textBlock.Inlines.Add(new Run("كِيل") { Foreground = Brushes.Blue });
            layoutRoot.Children.Add(textBlock);
        }
    }
}
